﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PaymentMethodManager.aspx.cs"
    Inherits="Card.Manager.PaymentMethodManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>付款方式管理</title>
    <link href="Css/Style.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table class="TB">
            <tr>
                <td class="TD_Input">
                    <asp:TextBox ID="txtQuery" Width="70%" runat="server"></asp:TextBox>
                    <asp:Button ID="btnQuery" runat="server" Text="查询" />
                    <asp:Button ID="btnAdd" runat="server" Text="添加" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Repeater ID="rptList" runat="server">
                        <HeaderTemplate>
                            <table class="TB">
                                <tr class="TB_Header">
                                    <td>
                                        地区
                                    </td>
                                    <td>
                                        编码
                                    </td>
                                    <td>
                                        名称
                                    </td>
                                    <td>
                                        描述
                                    </td>
                                    <td>
                                        操作
                                    </td>
                                </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr class="TB_Item">
                                <td>
                                    <%# Eval("AREA") %>
                                </td>
                                <td>
                                    <%# Eval("CODE") %>
                                </td>
                                <td>
                                    <%# Eval("NAME") %>
                                </td>
                                <td>
                                    <%# Eval("DESC") %>
                                </td>
                                <td>
                                    <a href="PaymentMethodEdit.aspx?c=<%#Eval("CODE") %>">编辑</a>
                                    <asp:LinkButton ID="lbtnDelete" runat="server" CommandName="DELETE" CommandArgument='<%# Eval("CODE").ToString()+"|"+Eval("AREA").ToString() %>'>删除</asp:LinkButton>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
